<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class GoodsColor extends Model
{
    protected $table = "goods_color";
    protected $guarded = [];

    public function getColorImageAttribute()
    {
        return Wechart::PATH_IMAGE.'uploads/'.$this->attributes['color_image'];
    }
}
